Clear the Peer Connection

Clear the peer connection to clear the TCP connection to the specified MSDP peer and reset all MSDP message counters.
Note

Note

This procedure does not clear the SA cache entries the router learns from the peer.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Clear the peer connection:

    clear ip msdp peer {A.B.C.D} [vrf WORD<0-16>] [vrfids WORD<0-512>]

Example

Switch:1>enable

Switch:1#configure terminal

Switch:1(config)#clear ip msdp peer 21.0.0.2

Variable definitions

The following table defines parameters for the clear ip msdp peer command.

Variable

Value

{A.B.C.D}

Specifies the MSDP peer IP address.

vrf WORD<0–16>

Specifies the VRF name.

vrfids WORD<0–512>

Specifies the VRF ID.